package co.yixiang.yshop.module.product.controller.app.campaigninfo.vo;

import co.yixiang.yshop.module.product.controller.admin.producttag.vo.ProductTagViewRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

@Schema(description = "用户 APP -营销活动商品列表 Response VO")
@Data
@ToString(callSuper = true)
public class CampaignProductRespVO {

    @Schema(description = "规格id")
    private Long skuId;

    @Schema(description = "商品id")
    private Long id;

    @Schema(description = "规格名")
    private String sku;

    @Schema(description = "商品名称")
    private String storeName;

    @Schema(description = "活动id")
    private String campaignId;

    @Schema(description = "活动名称")
    private String campaignName;

    @Schema(description = "活动介绍")
    private String remark;

    @Schema(description = "原价")
    private BigDecimal originalPrice;

    @Schema(description = "当前价")
    private BigDecimal price;

    @Schema(description = "兑换积分")
    private BigDecimal integral;

    @Schema(description = "剩余活动库存")
    private Integer stock;

    @Schema(description = "活动总库存")
    private Integer total;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "成团人数")
    private Integer person;

    @Ignore
    private Long productTagId;

    @Schema(description = "商品标签")
    private ProductTagViewRespVO tag;

}
